package com.suixuan.spring.vaadin.component;

import org.springframework.stereotype.Component;

import com.vaadin.Application;
import com.vaadin.ui.Window;

@Component("application")
// @Scope("session")
public class VaadinManagerApplication extends Application {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4347617515310518517L;

	private Window window;

	public VaadinManagerApplication() {
		window = new Window("hello");
	}

	@Override
	public void init() {
		setMainWindow(this.window);

	}
}